Method and devices for creating redundancy and encryption using mojette transform

ABSTRACT

A method for hyper security encoding includes receiving data to be encrypted, and padding the data to be encrypted with padding data to avoid un-obfuscated bits after encryption. The method also includes encrypting, with a Mojette Transform, the data to be encrypted after the data to be encrypted is padded with the padding data, and outputting a result of the encryption as encrypted data.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of priority to provisional application No. 62/939,895, filed Nov. 25, 2019. The entire contents of this application are incorporated herein by reference.

BACKGROUND Field

Encryption is used to protect information from unauthorized access. Encryption involves the conversion of sensitive information into a cipher-text using an algorithm. Cryptography first uses the encrypt operation to scramble (write) the data and then the decrypt operation to unscramble (read) the encrypted data back to its original state. Only users with knowledge how to decrypt, or unscramble the data back to the original state, can read the data.

The Advanced Encryption Standard (AES) was created by the National Institute of Standards and Technology (NIST) and became an effective US federal government standard in 2002, after being in development for five years. There are two basic techniques for encrypting data, symmetric encryption also known as “secret key encryption” and asymmetric encryption known as “public key encryption”. AES is a symmetric block cipher used by individuals and corporations alike to protect classified or otherwise valuable information.

Orchesto® GSE the present standard encryption method in Orchesto® uses the AES block cipher with a key length of 256-bit having 14 rounds, where rounds correspond to multiple processing steps, which include permutation and substitution of the encrypted text, which transforms it into its encrypted form, adequate to protect classified data up to “Top Secret” the highest official level in the United States Government's classification system.

Hyper Security Encryption (HSE) is an encryption method using the Mojette transform, the algorithm to enable a flexible, redundant and hyper secure data encryption for specific use-cases.

The erasure code library Zebware Erasure Code (ZebEC) uses the Mojette transform which is a discrete and exact version of the Radon transform. The Mojette transform is by nature a non-systematic code and parity fragments (m) have a larger size (1+c) than corresponding systematic fragments (k).Epsilon c>0 implies that parity fragments contains more information than data fragments.

Description of the Related Art

Businesses and governments are shifting more and more workloads to the cloud, but many organizations remain resistant to the cloud's considerable attractions due to concerns about data security.

-   -   Compliance violations (GDPR, HIPAA)     -   Identity theft     -   Malware infections and data breaches

Encryption to secure the data is often an additional function to an application that brings additional risks to the operation. Using HSE to integrate the encryption with the redundancy created by the Mojette Transform erasure code combines two sophisticated features into one operation. This combination greatly improves speed and brings down complexity of the implementation. HSE both technically and from the view of the end-user, guarantees both durability (through erasure coding) and security (through encryption) of the data.

HSE encryption technologies:

-   -   Horizontal Padding     -   Vertical Padding     -   Fortification of Fragments

Different algorithms can be used to create encryption functionality but the preferred algorithm is the Mojette Transform (MT) a discrete and exact version of the Radon Transform. The Mojette Transform is by nature a non-systematic code and the parity chunks have a larger size (1+ε) than corresponding systematic chunks (k), where epsilon is ε>0 making the parity chunks (m) containing more information than data chunks. The Mojette Transform is by design highly performant also on CPUs without advanced acceleration features and delivers excellent results even on less potent CPUs, but takes full advantage of modern CPU features when present. MT is also portable between different hardware platforms, which means that it can be used in all architectural layers such as data centers, client applications and edge devices. MT is an algorithm that is rateless meaning that it is possible to set any redundancy level to a specific use case for optimal functionality, and add or reduce the redundancy level without noticeable performance impact when tiering the data from hot to cold storage or vice versa. See the paper “Pierre Verbert, Vincent Ricordel, Jean-Pierre Gu'edon. ANALYSIS OF MOJETTE TRANS-FORM PROJECTIONS FOR AN EFFICIENT CODING. Workshop on Image Analysis for Multimedia Interactive Services (WIAMIS, Apr 2004, Lisboa, Portugal. 2004. <hal-00451338>.

There is a need for an improved encryption solution combining the implementation of redundancy, encryption and performance into software or hardware. HSE using Mojette Transform Projections (MT) for the next generation cloud native solutions and work in distributed frameworks over networks for redundant and hyper secure, highly performant use-cases.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 a shows a graphical illustration of the Mojette Transform, including input data chunked into a 3×3 block with 4 bins calculated for two projections.

FIG. 1 b shows a table of the configuration input to the HSE

FIG. 2 a shows an representation of the data input.

FIG. 2 b shows input data from FIG. 2 a after using k=2 forming the data matrix having two rows

FIG. 3 a shows a data matrix having two rows k=2

FIG. 3 b shows a data matrix having two rows k=2 with a HSE horizontal padding

FIG. 3 c shows the HSE horizontal padding in FIG. 3 b calculations for projection p(1,1) and p(−1,1)

FIG. 4 a shows a data matrix having two rows k=2

FIG. 4 b shows a data matrix having two rows k=2 with a HSE vertical padding

FIG. 4 c shows the HSE vertical padding in FIG. 4 b calculations for projection p(1,1) and p(−1,1)

FIG. 5 a shows a data matrix having two rows k=2

FIG. 5 b shows stream cipher and the data matrix to be encrypted

FIG. 5 c shows HSE fortification using stream cipher and data matrix from FIG. 5 b including illustrative projections from p(1,1) and p(−1,1)

FIG. 5 d shows the HSE fortification padding in FIG. 5 b calculations for projection p(1,1) and p(−1,1)

FIG. 6 is a schematic illustration of a computer implementation according to an embodiment of the present disclosure.

DETAILED DESCRIPTION

The embodiments described above are merely given as examples, and it is understood that the proposed technology is not limited thereto. It is understood by those skilled in the art that various modifications, combinations and changes may be made to the embodiments without departing from the present scope as defined by the appended claims. In particular, different part solutions in the different embodiments can be combined in other configurations, where technically possible.

Conventionally, a Mojette Transform does not protect pixels at the edge of the configured coding block. This causes multiple un-obfuscated pixels to be scattered throughout the computed parity fragments. In FIG. 1, 110 the data object is chunked up into three chunks 140 rows 1, 2 and 3. These rows are then subject to a Mojette Transformation (MT) into 120 and 130 bins. The bins 120 shows that the edge pixel 7 is un-obfuscated and the same will be for the last pixel 3 for the projection p(−1,1). For the bins 130 in projection p(1,1) un-obfuscated pixels will here be 1 and 9.

To eliminate the possibility of having un-obfuscated data, HSE uses random generated data in different paddings to the data matrix, before performing the MT operation, using a key generation with a stream cipher, a symmetric key cipher where plaintext digits are combined with a pseudorandom cipher digit stream (keystream).

In stream cipher, each plaintext digit is encrypted one at a time with the corresponding digit of the keystream, to give a digit of the cipher-text stream. Since encryption of each digit is dependent on the current state of the cipher, it is also referred to as state cipher. In practice, a digit is typically a bit and the combining operation an exclusive-or (XOR).

An advantage of stream ciphers in military cryptography, or any other cryptography, is that the cipher stream can be generated in a separate box that is subject to strict security measures and fed to other devices hosting an application, which will perform the XOR operation as part of their function. The latter device can then be designed and used in less stringent environments.

One preferred design example is to use a stream cipher like ChaCha20 to generate the ephemeral chunks to be used in combination with MT operation. ChaCha20 is a 20-round stream cipher, consistently faster than AES and is recommended by the designer for typical cryptographic applications. In all examples for simplification, the keys are designed to be generated by stream ciphers. Examples of keys are shown in FIG. 3 b , FIG. 4 b , FIG. 5 b.

FIG. 1 b shows the input configuration data. Redundancy 110 will now also have a component m-key that is the key where a decision is whether this information should be stored as a standard chunk or not. In the case where the m-key is stored, traditional regeneration of the key is not necessary if the m-key is available, but if the m-key is not available, the m-key could be regenerated and used for the MT operation. The number of data fragments and parity fragments can now be calculated to meet specified redundancy of the data.

-   -   k=data fragments=The number of fragments required by the erasure         code to reassemble the original data     -   m=parity fragments=The number of fragments that can be lost         without impacting the availability of the data     -   k+m=Width=The configured number of fragments generated by the         erasure code when processing input data     -   k/(k+m)=Storage efficiency

In FIG. 1 b , 120 is the input for the Performance of the MT operation to be performed onto data. Different settings will have an impact on the length of the key that needs to be generated in order not to have any edge un-obfuscated data shown in the parity fragments after the MT operation.

In FIG. 1 b , 130 the encryption needs to be configured giving input about method to use and if single or multiple keys should be generated. HSE uses three methods for encryption of data

-   -   Horizontal padding     -   Vertical padding     -   Fortification         Horizontal padding shown in FIG. 3 b , Vertical padding shown in         4b, and Fortification is shown in FIG. 5 c . Single or multiple         keys and how they are combined are the next input needed. A         single key is how encryption traditionally works, where one key         will give access to the data. Using instead multiple keys a         decision can be made if they separately should be able to access         the data or if this must be made in combination with the use of         the multiple keys. Using multiple keys one key could also be a         master key and if not present the data is totally obfuscated to         access. Using multiple keys that need to be in combination to         gain access to data can protects organizations from personal         errors.

In FIG. 1 b , 140 the decryption configuration is given for the m-key handling in different environments. Traditionally networks can be categorized into secret, private and public security levels and different settings to protect the data can here be applied.

FIG. 2 a , 210 shows a standard data input to be handled by the HSE MT operation. In the following examples this data will serve as the standard input. The data 210 is chunked up into two rows 220 and 221 having k=2. This data matrix will be used as a standard in the following examples.

HSE horizontal padding protects edge pixel information and secures that all data in MT parity fragments are obfuscated. In FIG. 3 a the data matrix with two rows 310 and 320 are horizontally padded in FIG. 3 b 322 and 323 with cipher digits. This protects HSE to output any obfuscated after an MT operation on the data matrix FIG. 3 a . In FIG. 3 c a calculation using the data matrix together with the cipher text that are grey pixels in the calculation sheet, from FIG. 3 b is performed for the projections p(1,1) and p(−1,1). This calculation shows that HSE horizontal padding protects the MT edges to show-un-obfuscated information.

HSE vertical padding protects edge pixel information and secures that all data in MT parity fragments are encrypted. Vertical padding consists of two different types of chunks, data chunks and ephemeral chunks. The ephemeral chunks are generated from a data stream seeded by a key, shown in the FIG. 4 b 420 and 423. FIG. 4 a shows the original data matrix consisting of two rows given by k=2, that will be encrypted using HSE with vertical padding. The ephemeral chunks can either be stored in the cloud as parity fragments, making it possible to decode the data without a key or they can be regenerated from the key during decoding. In FIG. 4 c performing the HSE operation onto the data matrix in FIG. 4 b is shown. As shown in both projections p(1,1) and p(−1,1) all bin sums are greater than 10 indicating that all matrix pixels are correctly encrypted using the stream cipher FIG. 4 b 420 and 423.

HSE fortification protects edge pixel information and secures that all data in HSE parity fragments are encrypted. Fortification consists of two different types of chunks, data chunks and ephemeral chunks. The ephemeral chunks are generated from a data stream seeded by a key, shown in the FIG. 5 b 520 and 523. FIG. 5 a shows the original data matrix consisting of two rows given by k=2, that will be encrypted using HSE with fortification padding. Fortification shown in FIG. 5 c shows that top cipher row 520 is used for the p(1,1) projection and the p(−1,1) uses the stream cipher 523 for the HSE encryption of the original data matrix FIG. 5 a . In FIG. 5 d the HSE operation is shown as a calculation in a spreadsheet showing that all bins in both the p(1,1) and p(−1,1) are greater than 10, proof of that all pixels in the data matrix FIG. 5 a are encrypted with the stream cipher. The ephemeral chunks can either be stored in the cloud as parity fragments, making it possible to decode the data without a key or they can be regenerated during decoding.

Referring to FIG. 6 , an embodiment of the present disclosure further provides a computer device 800, including a processor 810, a memory 820, a communications interface 830, and a bus 840. One of ordinary skill will recognize that the processor 810, memory 820, communication interface, and bus 840 may each be implemented by circuitry that performs their corresponding functions.

The memory 820 is configured to store a program 850, and the processor 810 is connected to the memory 820 by using the bus 840. When the computer device 800 is running, the processor 810 executes the program 850 stored in the memory 820, so that the computer device 800 performs the functions described above. The processor 810 is configured to perform the functions described above, with reference to other Figures.

The memory 820 may include a high-speed random access memory (RAM) memory. Optionally, the memory 820 may further include a non-volatile memory. For example, the memory 820 may include a magnetic disk memory. Thus, the memory may be any non-transitory computer-readable medium without limitation.

The processor 810 may be a central processing unit (CPU), or the processor 810 may be an application-specific integrated circuit (ASIC), or the processor 810 may be one or more integrated circuits configured to implement the embodiments of the present disclosure.

A person of ordinary skill in the art may understand that all or some of the steps of the methods in the embodiments may be implemented by a program instructing relevant hardware. The program may be stored in a computer readable storage medium, such as a non-transitory computer readable storage medium. The storage medium may include a Read Only Memory (ROM), a RAM, a magnetic disk, or an optical disc.

There is a need for an improved encryption solution combining the implementation of redundancy, encryption and performance into software or hardware. HSE using Mojette Transform Projections (MT) for the next generation cloud native solutions and work in distributed frameworks over networks for redundant and hyper secure, highly performant use-cases.

The embodiments described above are merely given as examples, and it is understood that the proposed technology is not limited thereto. It can be understood by those skilled in the art that various modifications, combinations and changes may be made to the embodiments without departing from the present scope as defined by the appended claims. In particular, different part solutions in the different embodiments can be combined in other configurations, where technically possible. 

1. A method of hyper security encryption performed by a computing device, the method comprising: receiving, with circuitry of the computing device, data to be encrypted; padding, with the circuitry of the computing device, the data to be encrypted with padding data to avoid un-obfuscated bits after encryption; encrypting, by the circuitry of the computing device and using a Mojette Transform (MT), the data to be encrypted after the data to be encrypted is padded with the padding data; and outputting, by the circuitry of the computing device, a result of the encrypting step as encrypted data.
 2. The method of claim 1, wherein, in the padding step, the data to be encrypted is vertically padded with the padding data.
 3. The method of claim 1, wherein, in the padding step, the data to be encrypted is horizontally padded with the padding data.
 4. The method of claim 1, wherein, in the padding step, the data to be encrypted is padded with the padding data using fortification.
 5. The method according to claim 1, further comprising receiving key data corresponding to at least one key to be used in encrypting the data to be encrypted.
 6. The method according to claim 5, wherein the key data includes data of multiple keys to be used in encrypting the data to be encrypted.
 7. The method according to claim 1, further comprising dividing the data to be encrypted into a plurality of chunks prior to encrypting step, wherein in the encrypting step, the plurality of chunks are encrypted using the MT.
 8. The method according to claim 7, wherein the chunks are generated using a stream cipher.
 9. The method according to claim 1, wherein a length of the padding data is computed based on a length of the data to be encrypted.
 10. A computing device configured to perform hyper secure encryption of data to be encrypted, the computing device comprising: circuitry configured to: receive the data to be encrypted; pad the data to be encrypted with padding data to avoid un-obfuscated bits after encryption; encrypt, using a Mojette Transform (MT), the data to be encrypted after the data to be encrypted is padded with the padding data; and output a result of the encrypting step as encrypted data.
 11. The computing device according to claim 10, wherein the circuitry is configured to pad the data to be encrypted with the padding data by vertically padding the data to be encrypted with the padding data.
 12. The computing device according to claim 10, wherein the circuitry is configured to pad the data to be encrypted with the padding data by horizontally padding the data to be encrypted with the padding data.
 13. The computing device according to claim 10, wherein the circuitry is configured to pad the data to be encrypted with the padding data by fortifying the data to be encrypted with the padding data.
 14. The computing device according to claim 10, wherein the circuitry is further configured to receive key data corresponding to at least one key to be used in encrypting the data to be encrypted.
 15. The computing device according to claim 14, wherein the key data includes data of multiple keys to be used in encrypting the data to be encrypted.
 16. The computing device according to claim 10, wherein the circuitry is further configured to divide the data to be encrypted into a plurality of chunks prior to encrypting step, and in encrypting the data to be encrypted, the circuitry encrypts the plurality of chunks using the MT.
 17. The computing device according to claim 16, wherein the circuitry is configured to generate the plurality of chunks using a stream cipher.
 18. A non-transitory computer-readable medium including computer-readable instructions that, when executed by circuitry of a computing device, cause the computing device to perform a method comprising: receiving data to be encrypted; padding the data to be encrypted with padding data to avoid un-obfuscated bits after encryption; encrypting, using a Mojette Transform (MT), the data to be encrypted after the data to be encrypted is padded with the padding data; and outputting a result of the encrypting step as encrypted data. 